package com.hl.qzzpbackend.model.dto.positionType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
 * 添加岗位类型请求类
 *
 * @author helong
 */
@Data
@ApiModel(value = "添加岗位类型请求类")
public class PositionTypeAddRequest implements Serializable {


    /**
     * 行业类型id
     */
    @ApiModelProperty(value = "行业类型id")
    @NotNull(message = "行业类型id不能为空")
    @Min(value = 0,message = "行业类型id不能小于0")
    private Long industryTypeId;

    /**
     * 岗位名称
     */
    @NotBlank(message = "岗位名称不能为空")
    @ApiModelProperty(value = "岗位名称")
    private String name;


}